
import 'package:flutter/material.dart';
import 'package:flutter_mvvm/ex/color_ex.dart';

class Constants {
  //默认配置颜色
  static final Color primaryColor = HexColor.fromHex("#154dc6");
  static final Color primaryColorLight = HexColor.fromHex("#E5ECF9");
  static final Color accentColor = HexColor.fromHex("#154dc6");
  static final Color colorDefaultPageBackground = HexColor.fromHex("#f3f3f8");

  static final Color colorTransParentLight = HexColor.fromHex("#20E5ECF9");
  static final Color colorTextBlack = Color.fromARGB(255, 48, 42, 44);
  static final Color colorTextGray = Color.fromARGB(255, 153, 153, 153);
  static final Color colorInputBackground = HexColor.fromHex("#FDF7FA");
  static final Color colorGrayEE = Color.fromARGB(255, 238, 238, 238);
  static final Color colorGrayCC = HexColor.fromHex("#CCCCCC");

  //默认配置距离大小
  static const double edgeDistance = 20.0;

  //通用字体-字重
  static final FontWeight fontWeightRegular = FontWeight.w400;
  static final FontWeight fontWeightMedium = FontWeight.w500;
  static final FontWeight fontWeightSemiBold = FontWeight.w600;
  static final FontWeight fontWeightBold = FontWeight.w700;
}
